<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
<link
	href="<%=request.getContextPath()%>/fare/lib/ligerUI/skins/Aqua/css/ligerui-all.css"
	rel="stylesheet" type="text/css" />
<link
	href="<%=request.getContextPath()%>/fare/lib/ligerUI/skins/ligerui-icons.css"
	rel="stylesheet" type="text/css" />
<link
	href="<%=request.getContextPath()%>/fare/lib/ligerUI/skins/Gray/css/all.css"
	rel="stylesheet" type="text/css" />
<script type="text/javascript"
	src="<%=request.getContextPath()%>/fare/js/jquery-1.6.4.min.js"></script>





<script type="text/javascript">
	function itemclick(item) {
		alert(item.text);
	}
	$(function() {
		window['g'] = $("#maingrid").ligerGrid({
			height : '100%',
			columns : [ {
				display : '顾客',
				name : 'CustomerID',
				align : 'left',
				width : 100,
				minWidth : 60
			}, {
				display : '公司名',
				name : 'CompanyName',
				minWidth : 120
			}, {
				display : '联系名',
				name : 'ContactName',
				minWidth : 140
			}, {
				display : '城市',
				name : 'City'
			} ],
			data : CustomersData,
			pageSize : 30,
			rownumbers : true,
			toolbar : {
				items : [ {
					text : '增加',
					click : itemclick,
					icon : 'add'
				}, {
					line : true
				}, {
					text : '修改',
					click : itemclick,
					icon : 'modify'
				}, {
					line : true
				}, {
					text : '删除',
					click : itemclick,
					img : '../../../lib/ligerUI/skins/icons/delete.gif'
				} ]
			}
		});

		$("#pageloading").hide();
	});

	function deleteRow() {
		g.deleteSelectedRow();
	}
</script>

</head>
<body>hello world
</body>
</html>